<?php
namespace app\admin\controller;

use think\Controller;
use \think\Db;
use \think\Config;
use \think\Session;
use think\config\driver\Json;
use \think\Request;

class Checksession {
    public function index(){
        $user_info = Session::get('user_info');
        if(empty($user_info)){
           return json(['status'=>260]);
        }else{
            return json(['status'=>200]);
        }
    }
}